<!DOCTYPE HTML>
<html>
	<head>
		<meta http-equiv="Content-Type" content="html/html; charset=utf-8" />
		<title>SFSBuddyManager Class Reference</title>
		<meta id="xcode-display" name="xcode-display" content="render"/>
		<link rel="stylesheet" type="text/css" href="../css/styles.css" media="all" />
		<link rel="stylesheet" type="text/css" media="print" href="../css/stylesPrint.css" />
		<meta name="generator" content="appledoc 2.2 (build 963)" />
	</head>
	<body>
		<header id="top_header">
			<div id="library" class="hideInXcode">
				<h1><a id="libraryTitle" href="../index.html">SFS2X API v1.3.7 </a></h1>
				<a id="developerHome" href="../index.html">gotoAndPlay() / A51 Integrated</a>
			</div>
			
			<div id="title" role="banner">
				<h1 class="hideInXcode">SFSBuddyManager Class Reference</h1>
			</div>
			<ul id="headerButtons" role="toolbar">
				<li id="toc_button">
					<button aria-label="Show Table of Contents" role="checkbox" class="open" id="table_of_contents"><span class="disclosure"></span>Table of Contents</button>
				</li>
				<li id="jumpto_button" role="navigation">
					<select id="jumpTo">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	
	
	
	
	<option value="tasks">Tasks</option>
	
	
	
	
	
	<option value="properties">Properties</option>
	
	<option value="//api/name/buddyList">&nbsp;&nbsp;&nbsp;&nbsp;buddyList</option>
	
	<option value="//api/name/buddyStates">&nbsp;&nbsp;&nbsp;&nbsp;buddyStates</option>
	
	<option value="//api/name/isInited">&nbsp;&nbsp;&nbsp;&nbsp;isInited</option>
	
	<option value="//api/name/myNickName">&nbsp;&nbsp;&nbsp;&nbsp;myNickName</option>
	
	<option value="//api/name/myOnlineState">&nbsp;&nbsp;&nbsp;&nbsp;myOnlineState</option>
	
	<option value="//api/name/myState">&nbsp;&nbsp;&nbsp;&nbsp;myState</option>
	
	<option value="//api/name/myVariables">&nbsp;&nbsp;&nbsp;&nbsp;myVariables</option>
	
	<option value="//api/name/offlineBuddies">&nbsp;&nbsp;&nbsp;&nbsp;offlineBuddies</option>
	
	<option value="//api/name/onlineBuddies">&nbsp;&nbsp;&nbsp;&nbsp;onlineBuddies</option>
	
	
	
	
	
	
	<option value="instance_methods">Instance Methods</option>
	
	<option value="//api/name/containsBuddy:">&nbsp;&nbsp;&nbsp;&nbsp;- containsBuddy:</option>
	
	<option value="//api/name/getBuddyById:">&nbsp;&nbsp;&nbsp;&nbsp;- getBuddyById:</option>
	
	<option value="//api/name/getBuddyByName:">&nbsp;&nbsp;&nbsp;&nbsp;- getBuddyByName:</option>
	
	<option value="//api/name/getBuddyByNickName:">&nbsp;&nbsp;&nbsp;&nbsp;- getBuddyByNickName:</option>
	
	<option value="//api/name/getMyVariable:">&nbsp;&nbsp;&nbsp;&nbsp;- getMyVariable:</option>
	
	
	
</select>
				</li>
			</ul>
		</header>
		<nav id="tocContainer" class="isShowingTOC">
			<ul id="toc" role="tree">
				
<li role="treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#overview">Overview</a></span></li>




<li role="treeitem" id="task_treeitem"><span class="nodisclosure"></span><span class="sectionName"><a href="#tasks">Tasks</a></span><ul>
	
</ul></li>





<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#properties">Properties</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/buddyList">buddyList</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/buddyStates">buddyStates</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/isInited">isInited</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/myNickName">myNickName</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/myOnlineState">myOnlineState</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/myState">myState</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/myVariables">myVariables</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/offlineBuddies">offlineBuddies</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/onlineBuddies">onlineBuddies</a></span></li>
	
</ul></li>





<li role="treeitem" class="children"><span class="disclosure"></span><span class="sectionName"><a href="#instance_methods">Instance Methods</a></span><ul>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/containsBuddy:">containsBuddy:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getBuddyById:">getBuddyById:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getBuddyByName:">getBuddyByName:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getBuddyByNickName:">getBuddyByNickName:</a></span></li>
	
	<li><span class="nodisclosure"></span><span class="sectionName"><a href="#//api/name/getMyVariable:">getMyVariable:</a></span></li>
	
</ul></li>


			</ul>
		</nav>
		<article>
			<div id="contents" class="isShowingTOC" role="main">
				<a title="SFSBuddyManager Class Reference" name="top"></a>
				<div class="main-navigation navigation-top">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="header">
					<div class="section-header">
						<h1 class="title title-header">SFSBuddyManager Class Reference</h1>
					</div>		
				</div>
				<div id="container">	
					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<td class="specification-title">Inherits from</td>
	<td class="specification-value">NSObject</td>
</tr><tr>
	<td class="specification-title">Conforms to</td>
	<td class="specification-value"><a href="../Protocols/IBuddyManager.html">IBuddyManager</a></td>
</tr><tr>
	<td class="specification-title">Declared in</td>
	<td class="specification-value">SFSBuddyManager.h<br />SFSBuddyManager.m</td>
</tr>
						</tbody></table></div>
					
                    
                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>The class manages the current User&rsquo;s Buddy List</p>
					</div>
					
					
					
					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						<h2 class="subtitle subtitle-tasks">Tasks</h2>
						
						
						
						

						<ul class="task-list">
							<li>
	<span class="tooltip">
		<code><a href="#//api/name/buddyList">&nbsp;&nbsp;buddyList</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/buddyStates">&nbsp;&nbsp;buddyStates</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/isInited">&nbsp;&nbsp;isInited</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/myNickName">&nbsp;&nbsp;myNickName</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/myOnlineState">&nbsp;&nbsp;myOnlineState</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/myState">&nbsp;&nbsp;myState</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/myVariables">&nbsp;&nbsp;myVariables</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/offlineBuddies">&nbsp;&nbsp;offlineBuddies</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/onlineBuddies">&nbsp;&nbsp;onlineBuddies</a></code>
	</span>
	<span class="task-item-suffix">property</span>
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/containsBuddy:">&ndash;&nbsp;containsBuddy:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getBuddyById:">&ndash;&nbsp;getBuddyById:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getBuddyByName:">&ndash;&nbsp;getBuddyByName:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getBuddyByNickName:">&ndash;&nbsp;getBuddyByNickName:</a></code>
	</span>
	
	
</li><li>
	<span class="tooltip">
		<code><a href="#//api/name/getMyVariable:">&ndash;&nbsp;getMyVariable:</a></code>
	</span>
	
	
</li>
						</ul>
						
					</div>
					
					
					
					
					
					<div class="section section-methods">
						<a title="Properties" name="properties"></a>
						<h2 class="subtitle subtitle-methods">Properties</h2>
						
						<div class="section-method">
	<a name="//api/name/buddyList" title="buddyList"></a>
	<h3 class="subsubtitle method-title">buddyList</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get the User&rsquo;s buddy list. It could be null if the Buddy List was not initialized</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (weak, readonly) NSArray *buddyList</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get the User&rsquo;s buddy list. It could be null if the Buddy List was not initialized</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/InitBuddyListRequest.html">InitBuddyListRequest</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/buddyStates" title="buddyStates"></a>
	<h3 class="subsubtitle method-title">buddyStates</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get a list of Strings representing the custom Buddy states that the application can use. The custom states
are sent upon initialization of the Buddy List and are configured on the server side.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (weak, readonly) NSArray *buddyStates</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get a list of Strings representing the custom Buddy states that the application can use. The custom states
are sent upon initialization of the Buddy List and are configured on the server side.</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/isInited" title="isInited"></a>
	<h3 class="subsubtitle method-title">isInited</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Checks if the current User&rsquo;s Buddy List is inited.
If not you should send an InitBuddyListRequest to the server in order to retrieve your persistent Buddy List data.</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (readonly) BOOL isInited</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Checks if the current User&rsquo;s Buddy List is inited.
If not you should send an InitBuddyListRequest to the server in order to retrieve your persistent Buddy List data.</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/InitBuddyListRequest.html">InitBuddyListRequest</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/myNickName" title="myNickName"></a>
	<h3 class="subsubtitle method-title">myNickName</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get the current User&rsquo;s optional nickname
This operation is valid only if the User&rsquo;s BuddyList has already been initialized
The value is handled by a reserved Buddy Variable</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (weak, readonly) NSString *myNickName</code></div>

    
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>return the Users' nickname or null if the nickname was never set</p>
	</div>
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get the current User&rsquo;s optional nickname
This operation is valid only if the User&rsquo;s BuddyList has already been initialized
The value is handled by a reserved Buddy Variable</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/ReservedBuddyVariables.html">ReservedBuddyVariables</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/myOnlineState" title="myOnlineState"></a>
	<h3 class="subsubtitle method-title">myOnlineState</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get the current User&rsquo;s Online State
This operation is valid only if the User&rsquo;s BuddyList has already been initialized
The value is handled by a reserved Buddy Variable</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (readonly) BOOL myOnlineState</code></div>

    
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>true if the User is online, false otherwise</p>
	</div>
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get the current User&rsquo;s Online State
This operation is valid only if the User&rsquo;s BuddyList has already been initialized
The value is handled by a reserved Buddy Variable</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/ReservedBuddyVariables.html">ReservedBuddyVariables</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/myState" title="myState"></a>
	<h3 class="subsubtitle method-title">myState</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get the current User&rsquo;s optional custom state (e.g. &ldquo;Available&rdquo;; &ldquo;Busy&rdquo;, &ldquo;Be right back&rdquo;&hellip;)
This operation is valid only if the User&rsquo;s BuddyList has already been initialized
The value is handled by a reserved Buddy Variable</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (weak, readonly) NSString *myState</code></div>

    
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>return the Users' state or null if the state was not set</p>
	</div>
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get the current User&rsquo;s optional custom state (e.g. &ldquo;Available&rdquo;; &ldquo;Busy&rdquo;, &ldquo;Be right back&rdquo;&hellip;)
This operation is valid only if the User&rsquo;s BuddyList has already been initialized
The value is handled by a reserved Buddy Variable</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/ReservedBuddyVariables.html">ReservedBuddyVariables</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/myVariables" title="myVariables"></a>
	<h3 class="subsubtitle method-title">myVariables</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get all current User&rsquo;s Buddy Variables
This operation is valid only if the User&rsquo;s BuddyList has already been initialized</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (weak, readonly) NSArray *myVariables</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get all current User&rsquo;s Buddy Variables
This operation is valid only if the User&rsquo;s BuddyList has already been initialized</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/SFSBuddyVariable.html">SFSBuddyVariable</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/offlineBuddies" title="offlineBuddies"></a>
	<h3 class="subsubtitle method-title">offlineBuddies</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get a list of all offline Buddies in the User&rsquo;s Buddy list</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (weak, readonly) NSArray *offlineBuddies</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get a list of all offline Buddies in the User&rsquo;s Buddy list</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/onlineBuddies" title="onlineBuddies"></a>
	<h3 class="subsubtitle method-title">onlineBuddies</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get a list of all online Buddies in the User&rsquo;s Buddy list</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>@property (weak, readonly) NSArray *onlineBuddies</code></div>

    
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get a list of all online Buddies in the User&rsquo;s Buddy list</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
					
					
					
					<div class="section section-methods">
						<a title="Instance Methods" name="instance_methods"></a>
						<h2 class="subtitle subtitle-methods">Instance Methods</h2>
						
						<div class="section-method">
	<a name="//api/name/containsBuddy:" title="containsBuddy:"></a>
	<h3 class="subsubtitle method-title">containsBuddy:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Checks if a Buddy is present in the current User&rsquo;s Buddy List</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (BOOL)containsBuddy:(NSString *)<em>name</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>name</em></dt>
			<dd><p>the Buddy name</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>the true if the Buddy exists</p>
	</div>
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Checks if a Buddy is present in the current User&rsquo;s Buddy List</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/SFSBuddy.html">SFSBuddy</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getBuddyById:" title="getBuddyById:"></a>
	<h3 class="subsubtitle method-title">getBuddyById:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Find a Buddy from its User Id</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (id&lt;Buddy&gt;)getBuddyById:(NSInteger)<em>id_</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>id_</em></dt>
			<dd><p>the user id</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>the Buddy, or null if not found</p>
	</div>
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Find a Buddy from its User Id</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/SFSBuddy.html">SFSBuddy</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getBuddyByName:" title="getBuddyByName:"></a>
	<h3 class="subsubtitle method-title">getBuddyByName:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Find a Buddy from its name</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (id&lt;Buddy&gt;)getBuddyByName:(NSString *)<em>name</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>name</em></dt>
			<dd><p>: the Buddy name</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>the Buddy, or null if not found</p>
	</div>
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Find a Buddy from its name</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/SFSBuddy.html">SFSBuddy</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getBuddyByNickName:" title="getBuddyByNickName:"></a>
	<h3 class="subsubtitle method-title">getBuddyByNickName:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Find a Buddy from its optional nick name</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (id&lt;Buddy&gt;)getBuddyByNickName:(NSString *)<em>nickName</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>nickName</em></dt>
			<dd><p>: the nickname</p></dd>
		</dl>
		
	</div>
	
	
	
	<div class="method-subsection return">
		<h4 class="method-subtitle parameter-title">Return Value</h4>
		<p>the Buddy, or null if not found</p>
	</div>
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Find a Buddy from its optional nick name</p>
	</div>
	
	
	
	
	
	<div class="method-subsection see-also-section">
		<h4 class="method-subtitle">See Also</h4>
		<ul>
			
			<li><code><p><a href="../Classes/SFSBuddy.html">SFSBuddy</a></p></code></li>
			
		</ul>
	</div>
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
						<div class="section-method">
	<a name="//api/name/getMyVariable:" title="getMyVariable:"></a>
	<h3 class="subsubtitle method-title">getMyVariable:</h3>
	
	
	
	<div class="method-subsection brief-description">
		<p>Get current Users' BuddyVariable by name</p>
	</div>		
	
    

	<div class="method-subsection method-declaration"><code>- (id&lt;BuddyVariable&gt;)getMyVariable:(NSString *)<em>varName</em></code></div>

    
	
	<div class="method-subsection arguments-section parameters">
		<h4 class="method-subtitle parameter-title">Parameters</h4>
		
		<dl class="argument-def parameter-def">
			<dt><em>varName</em></dt>
			<dd><p>the variable name</p></dd>
		</dl>
		
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection discussion-section">
		<h4 class="method-subtitle">Discussion</h4>
		<p>Get current Users' BuddyVariable by name</p>
	</div>
	
	
	
	
	
	
	
	<div class="method-subsection declared-in-section">
		<h4 class="method-subtitle">Declared In</h4>
		<code class="declared-in-ref">SFSBuddyManager.h</code><br />
	</div>				
	
	
</div>
						
					</div>
					
					
                    
                    
				</div>
				<div class="main-navigation navigation-bottom">
					<ul>
	<li><a href="../index.html">Index</a></li>
	<li><a href="../hierarchy.html">Hierarchy</a></li>
</ul>
				</div>
				<div id="footer">
					<hr />
					<div class="footer-copyright">
						<p><span class="copyright">&copy; 2014 gotoAndPlay() / A51 Integrated. All rights reserved. (Last updated: 2014-10-13)</span><br />
						
						<span class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2 (build 963)</a>.</span></p>
						
					</div>
				</div>
			</div>
		</article>
		<script type="text/javascript">
			function jumpToChange()
			{
				window.location.hash = this.options[this.selectedIndex].value;
			}
			
			function toggleTOC()
			{
				var contents = document.getElementById('contents');
				var tocContainer = document.getElementById('tocContainer');
				
				if (this.getAttribute('class') == 'open')
				{
					this.setAttribute('class', '');
					contents.setAttribute('class', '');
					tocContainer.setAttribute('class', '');
					
					window.name = "hideTOC";
				}
				else
				{
					this.setAttribute('class', 'open');
					contents.setAttribute('class', 'isShowingTOC');
					tocContainer.setAttribute('class', 'isShowingTOC');
					
					window.name = "";
				}
				return false;
			}
			
			function toggleTOCEntryChildren(e)
			{
				e.stopPropagation();
				var currentClass = this.getAttribute('class');
				if (currentClass == 'children') {
					this.setAttribute('class', 'children open');
				}
				else if (currentClass == 'children open') {
					this.setAttribute('class', 'children');
				}
				return false;
			}
			
			function tocEntryClick(e)
			{
				e.stopPropagation();
				return true;
			}
			
			function init()
			{
				var selectElement = document.getElementById('jumpTo');
				selectElement.addEventListener('change', jumpToChange, false);
				
				var tocButton = document.getElementById('table_of_contents');
				tocButton.addEventListener('click', toggleTOC, false);
				
				var taskTreeItem = document.getElementById('task_treeitem');
				if (taskTreeItem.getElementsByTagName('li').length > 0)
				{
					taskTreeItem.setAttribute('class', 'children');
					taskTreeItem.firstChild.setAttribute('class', 'disclosure');
				}
				
				var tocList = document.getElementById('toc');
				
				var tocEntries = tocList.getElementsByTagName('li');
				for (var i = 0; i < tocEntries.length; i++) {
					tocEntries[i].addEventListener('click', toggleTOCEntryChildren, false);
				}
				
				var tocLinks = tocList.getElementsByTagName('a');
				for (var i = 0; i < tocLinks.length; i++) {
					tocLinks[i].addEventListener('click', tocEntryClick, false);
				}
				
				if (window.name == "hideTOC") {
					toggleTOC.call(tocButton);
				}
			}
			
			window.onload = init;
			
			// If showing in Xcode, hide the TOC and Header
			if (navigator.userAgent.match(/xcode/i)) {
				document.getElementById("contents").className = "hideInXcode"
				document.getElementById("tocContainer").className = "hideInXcode"
				document.getElementById("top_header").className = "hideInXcode"
			}
			
		</script>
	</body>
</html>